import request from '@/utils/request'




// 上传文件
export function fragmentUploadUrls(data) {
  return request({
    url: '/file/fragmentUploadUrls',
    method: 'post',
    config: { headers: { "Content-Type": "multipart/form-data" } },
    data: data
  })
}

// 上传文件
export function upload(data) {
  return request({
    url: '/file/upload',
    method: 'post',
    data: data
  })
}

// 合并文件
export function merge(params) {
  return request({
    url: '/file/merge',
    method: 'get',
    params: params
  })
}

